import axios from "axios";

export const getList = () => {
    return axios({
        url:'/api/salary/sob/',
        method: 'get',
    })
}
export const del = (id) => {
    return axios({
        url:  `/api/salary/sob/${id}`,
        method: 'delete',
    })
}
export const add = (data) => {
    console.log(data)
    return axios({
        url:  `/api/salary/sob/`,
        method: 'post',
        data:data
    })
}
export const update = (data) => {
    return axios({
        url:  `/api/salary/sob/`,
        method: 'put',
        data:data
    })
}